Formalizing Design Patterns: A Comprehensive Contract for Composite

نویسندگان

  • Jason O. Hallstrom
  • Neelam Soundarajan
چکیده

Software patterns are used almost universally across design communities as the preferred mechanism for communicating best practice. And while the design archetypes captured by patterns continue to exert significant influence on software design decisions, there is no rigorous foundation for ensuring implementation correctness or reasoning about the systems in which patterns are applied. In this paper, we attempt to identify the conceptual elements necessary of any pattern formalism that satisfies these validation and reasoning objectives. We then present an overview of a particular pattern formalism developed as part of our prior work. The Composite pattern is used as a demonstrative example.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Rigorous Description Of Design Components Functionality: An Approach Based Contract

Current models for software components have made component-based software engineering practical. However, these models are limited in the sense that their support for the characterization/specification of design components primarily deals with syntactic issues. To avoid mismatch and misuse of components, more comprehensive specification of software components is required, In this paper, we pres...

متن کامل

Rigorous Description Of Design Components Functionality: An Approach Based Contract

Current models for software components have made componentbased software engineering practical. However, these models are limited in the sense that their support for the characterization/specification of design components primarily deals with syntactic issues. To avoid mismatch and misuse of components, more comprehensive specification of software components is required, In this paper, we prese...

متن کامل

Formalizing typical crosscutting concerns

We present a consistent system for referring crosscutting functionality, relating crosscutting concerns to specific implementation idioms, and formalizing their underlying relations through queries. The system is based on generic crosscutting concerns that we organize and describe in a catalog. We have designed and implemented a tool support for querying source code for instances of the propose...

متن کامل

A Contract-Based Language to Specify Design Components

For component-based software development to be successful in organizations, the software developers must give close attention to the design of components as independent abstractions with well-specified behaviors. Without well-specified behaviors the possibility to distribute and acquire software components will be limited. In this article, we present a contract-based approach to analyze and mod...

متن کامل

Tracing Correct Usage of Design Patterns

We previously described a contract formalism for specifying design patterns precisely, and showed how the formalism amplifies the benefits of pattern usage. In this paper, we present an extension to the formalism that addresses problems which arise in systems involving complex interconnections among objects, including potential cyclic reference structures. In the presence of such structures, th...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008